// filename: MainDialog.cpp
// author: enic
// date: 2015-11-05

#pragma once

#include "MainDialog.h"

namespace DuiLib
{
	DUI_BEGIN_MESSAGE_MAP(MainDialog, WindowImplBase)
		//DUI_ON_MSGTYPE(DUI_MSGTYPE_WINDOWINIT, OnWindowInitialized)
		//DUI_ON_MSGTYPE(DUI_MSGTYPE_CLICK,OnClick)
		//DUI_ON_MSGTYPE(DUI_MSGTYPE_TEXTCHANGED,OnTextChanged)
	DUI_END_MESSAGE_MAP()

	MainDialog::MainDialog()
	{
	}

	MainDialog::~MainDialog()
	{
	}

	LPCTSTR MainDialog::GetWindowClassName() const
	{
		return _T("TeamTalkMainDialog");
	}

	CDuiString MainDialog::GetSkinFile()
	{
		return _T("MainDialog.xml");
	}

	CDuiString MainDialog::GetSkinFolder()
	{
		return _T("");
	}

	CControlUI* MainDialog::CreateControl(LPCTSTR pstrClass)
	{
		return NULL;
	}

	void MainDialog::InitWindow()
	{
	}

	void MainDialog::OnFinalMessage(HWND hWnd)
	{
		PostQuitMessage(0);
	}


}


